package com.ruoyi.system.mapper;

import com.mybatisflex.core.BaseMapper;
import com.ruoyi.system.domain.SysOssConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 对象存储配置Mapper接口
 *
 * @author Lion Li
 * @author 孤舟烟雨
 * @date 2021-08-13
 */
@Mapper
public interface SysOssConfigMapper extends BaseMapper<SysOssConfig> {

    /**
     * 批量插入OSS配置(带ID)
     * @param entities OSS配置列表
     * @return 影响行数
     */
    int insertBatchWithId(@Param("list") List<SysOssConfig> entities);

}
